package org.wangchaocheng.cloudgallery.controller.authentication;

import com.alibaba.cola.dto.SingleResponse;

import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.wangchaocheng.cloudgallery.commond.authentication.AuthenticationCmd;

/**
 * 认证Controller
 *
 * @author wangchaocheng
 * @date 2025/04/22
 */
@RestController
@RequestMapping("authentication")
public class AuthenticationController {

    /**
     * 登录认证
     *
     * @param cmd 登录命令
     * @return {@link SingleResponse}<{@link Boolean}>
     */
    @PostMapping("login-auth")
    public SingleResponse<Boolean> login(@Validated @RequestBody AuthenticationCmd cmd) {
        return null;
    }

}
